package com.ruoyi.material.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 材料对象 materia
 * 
 * @author renyuxin
 * @date 2024-05-29
 */
public class Materia extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 材料主键 */
    private Long materiaId;

    /** 材料类型主键 */
    @Excel(name = "材料类型主键")
    private Long materiatypeId;

    /** 材料类型名 */
    private String materiatypeName;

    /** 项目主键 */
    @Excel(name = "项目主键")
    private Long projectId;

    /** 材料名称 */
    @Excel(name = "材料名称")
    private String materiaName;

    /** 材料规格 */
    @Excel(name = "材料规格")
    private String materiaStandard;

    /** 材料单位 */
    @Excel(name = "材料单位")
    private String materiaUnit;

    /** 采购总计数量 */
    @Excel(name = "采购总计数量")
    private Long purchaseQuantity;
    /** 级别 */

    private Integer level;

    /** 项目名*/
    private String projectName;

    public Integer getLevel() {
        return level;
    }

    public void setLevel(Integer level) {
        this.level = level;
    }

    public String getMateriatypeName() {
        return materiatypeName;
    }

    public void setMateriatypeName(String materiatypeName) {
        this.materiatypeName = materiatypeName;
    }

    public String getProjectName() {
        return projectName;
    }

    public void setProjectName(String projectName) {
        this.projectName = projectName;
    }

    public void setMateriaId(Long materiaId)
    {
        this.materiaId = materiaId;
    }

    public Long getMateriaId() 
    {
        return materiaId;
    }
    public void setMateriatypeId(Long materiatypeId) 
    {
        this.materiatypeId = materiatypeId;
    }

    public Long getMateriatypeId() 
    {
        return materiatypeId;
    }
    public void setProjectId(Long projectId) 
    {
        this.projectId = projectId;
    }

    public Long getProjectId() 
    {
        return projectId;
    }
    public void setMateriaName(String materiaName) 
    {
        this.materiaName = materiaName;
    }

    public String getMateriaName() 
    {
        return materiaName;
    }
    public void setMateriaStandard(String materiaStandard) 
    {
        this.materiaStandard = materiaStandard;
    }

    public String getMateriaStandard() 
    {
        return materiaStandard;
    }
    public void setMateriaUnit(String materiaUnit) 
    {
        this.materiaUnit = materiaUnit;
    }

    public String getMateriaUnit() 
    {
        return materiaUnit;
    }
    public void setPurchaseQuantity(Long purchaseQuantity) 
    {
        this.purchaseQuantity = purchaseQuantity;
    }

    public Long getPurchaseQuantity() 
    {
        return purchaseQuantity;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("materiaId", getMateriaId())
            .append("materiatypeId", getMateriatypeId())
            .append("projectId", getProjectId())
            .append("materiaName", getMateriaName())
            .append("materiaStandard", getMateriaStandard())
            .append("materiaUnit", getMateriaUnit())
            .append("purchaseQuantity", getPurchaseQuantity())
            .toString();
    }
}
